package org.blueoxygen.kukuruyuk.entity;

import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import org.blueoxygen.cimande.DefaultPersistence;
import org.blueoxygen.cimande.security.User;
import org.blueoxygen.kukuruyuk.entity.PurchaseOrder;
@Entity
@Table(name="kur_masterreceipe")
@Inheritance(strategy=InheritanceType.SINGLE_TABLE)
public class MasterReceipe extends DefaultPersistence{
	private PurchaseOrder purchaseOrder;
	private String vahicleNumber;
	private String realizeDate;
	
	public String getVahicleNumber() {
		return vahicleNumber;
	}
	public void setVahicleNumber(String vahicleNumber) {
		this.vahicleNumber = vahicleNumber;
	}
	public String getRealizeDate() {
		return realizeDate;
	}
	public void setRealizeDate(String realizeDate) {
		this.realizeDate = realizeDate;
	}

	@ManyToOne
	@JoinColumn(name="purchaseOrder")
	public PurchaseOrder getPurchaseOrder() {
		return purchaseOrder;
	}
	public void setPurchaseOrder(PurchaseOrder purchaseOrder) {
		this.purchaseOrder = purchaseOrder;
	}
	
}
